<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="{$sets->keyword}" />
<meta name="description" content="{$sets->description}" />
<link rel="stylesheet" href="__ROOT__/Tpl/Public/css/details.css" />
<script type="text/javascript" src="__ROOT__/Public/Jquery/jquery.js"></script>
<script type="text/javascript" src="__ROOT__/Public/Jquery/JQuery.screen.js"></script>
<script type="text/javascript" src="__ROOT__/Public/client_remind.js"></script>
<script type="text/javascript" src="__ROOT__/Tpl/Public/js/header.js"></script>
<script type="text/javascript" src="__ROOT__/Tpl/Public/js/details.js"></script>

<title>三原县信息网 -- 信息详情</title>
</head>
<body>
<include file="./Tpl/Public/header.html" />
    <div id="map"><img src="__ROOT__/Tpl/Public/images/location.gif" style="position:relative;top:2px;"/>  <a href="/">三原县信息网</a> &gt; <a href="{:U('/Category/index/','id='.$pid)}">{$parentname}</a> &gt; <a href="{:U('/Category/index/','id='.$cid)}">{$childname}</a> &gt; {$title} </div>
    <div id="body">
        <div class="title">
            <p><em>浏览 <span style="color:#360;">{$details.view_count}</span> 次  还有 <span style="color:red;">{$details.keep}</span> 天过期  发布时间:{$details.addtime|date='Y-m-d H:i:s',###}</em><span class="t">{$details.title}</span></p>
        </div>
        <div class="main">
            <div class="attr">
                <volist name="details.attr" id="value">
                <p><span style="display:inline-block;width:100px;text-align:center;">{$key}：</span>　　<span style="color:#666;display:inline-block;width:100px;">{$value}</span></p>
                </volist>
            </div>
            <div class="lianxi">
              <p><span style="display:inline-block;width:100px;text-align:center;">来自用户：</span>　<span style="color:#06f;"><a href="__ROOT__/member.php/Index/mySpace/user/{$details.user}" title="查看发布记录" target="_blank">{$details.user}</a></span>　<if condition="$_COOKIE['user'] neq $details['user']"><a href="###" style="color:#360;" id="message">(向此用户发短信)</a></if></p>
              <p><span style="display:inline-block;width:100px;text-align:center;">联系人：</span>　<span style="color:#f60;">{$details.lianxi}</span></p>
              <p><span style="display:inline-block;width:100px;text-align:center;">IP地址：</span>　<span >{$details.addip}</span></p>
              <p><span style="display:inline-block;width:100px;text-align:center;">联系手机：</span>　<span style="color:red;font-weight:bold;font-size:18px;">{$details.phone}</span></p>
              <p><span style="display:inline-block;width:100px;text-align:center;">QQ号码：</span>　{$details.qq}</p>
              <p><span style="display:inline-block;width:100px;text-align:center;">电子邮箱：</span>　{$details.email}</p>
            </div>
            <div class="content">
                <h3>信息详情</h3>
                <p>{$details.content}</p>
            </div>
            <div class="pic">
                <h3>相关图片</h3>
                <volist name="details.thumbnail" id="value" empty="$empty">
                <a href="" class="view_bigimg"><img src="__ROOT__/{$value}" class="smallPic"/></a>
                <p class="close" style="position:absolute;cursor:pointer;display:none;"/><img src="__ROOT__/Tpl/Public/images/close.png" /></p>
                <img src="__ROOT__/{$details['bigsrc'][$i-1]}" class="bigsrc"/>
                </volist>
            </div>
        </div>
        <div class="right">
            <div class="manage">
                <h4>信息管理</h4>
                <ul>
                    <eq name="details.user" value="$Think.cookie.user">
                    <li><a href="{:U('/Info/update','id='.$details['id'])}">修改</a></li>
                    <li><a href="{:U('/Info/delete', 'id='.$_GET['id'])}" onclick="return confirm('确认删除?') ? true:false">删除</a></li>
                    <else />
                    <li style="width:auto;color:red;">此信息非您发布，无权操作</li>
                    </eq>
                </ul>
            </div>
            <div class="like">
                <h4>你可能感兴趣的信息</h4> 
                <ul>
                    <volist name="maylike" id="value">
                    <li><a href="{:U('/Info/details','id='.$value['id'])}" target="_blank">
                    <if condition="$value['thumbnail'] neq 0">
                    <span style="color:#360;">[图]</span>
                    </if>
                    {$value.title}</a></li>
                    </volist>
                </ul>   
            </div>
            <div class="like_list">
                <h4>你可能感兴趣的分类</h4> 
                <ul>
                    <volist name="othernav" id="value">
                    <li><a href="{:U('/Category/index','id='.$value['id'])}" target="_blank">{$value.name}</a></li>
                    </volist>
                </ul>   
            </div>
        </div>
    </div>
    
    <div id="loading" style="display:none;position:absolute;z-index:10000"><img src="__ROOT__/Tpl/Public/images/loading.gif" alt="等待"/></div>
    <div id="linfo"><p>发表成功</p></div>
    
    <!-- 发短信小窗口 -->
    <div id="post">
        <form method="post" class="post">
            <input type="hidden" value="{$details.user}" id="postTo"/>
            <input type="hidden" value="{$Think.cookie.user}" id="postFrom"/>
            <input type="hidden" value="__ROOT__" id="root"/>
            <a id="m_close"><img src="__ROOT__/Tpl/Public/images/close.png" class="m_close"/></a>
            <dl>
                <dd>发送给：　<input type="text" name="mto" value="" class="text"  readonly="readonly"/></dd>
                <dd>标　题：　<input type="text" name="title" value="" class="text"/> (标题2到20位以内)</dd>
                <dd><span class="c">内　容：</span>　<textarea name="content"></textarea>  <span class="c">(内容300位以内)</span></dd>
                <dd><input type="submit" name="send" value="发　送" class="sub"/></dd>
            </dl>
        </form>
    </div>
    <!-- 发短信小窗口 -->
<include file="./Tpl/Public/footer.html" />
</body>
</html>